package cn.wetcland.item;

import cn.hutool.core.util.RandomUtil;
import cn.util.RandomJugement;
import org.bukkit.entity.*;
import org.bukkit.inventory.ItemStack;

import java.util.ArrayList;
import java.util.List;

public class RandomDropItem {

    public static List<ItemStack> getLevelMonsterDropItem(Class clazz, int level) {
        if (level > 10) {
            System.err.println("等级1-10");
            return null;
        }
        ArrayList<ItemStack> itemStacks;
        //if (clazz != null)
        switch (level) {
            case 1:
                itemStacks = dropItemLevel1(clazz);
                break;
            case 2:
                itemStacks = dropItemLevel2(clazz);
                break;
            case 3:
                itemStacks = dropItemLevel3(clazz);
                break;
            case 4:
                itemStacks = dropItemLevel4(clazz);
                break;
            case 5:
                itemStacks = dropItemLevel5(clazz);
                break;
            case 6:
                itemStacks = dropItemLevel6(clazz);
                break;
            case 7:
                itemStacks = dropItemLevel7(clazz);
                break;
            case 8:
                itemStacks = dropItemLevel8(clazz);
                break;
            case 9:
                itemStacks = dropItemLevel9(clazz);
                break;
            case 10:
                itemStacks = dropItemLevel10(clazz);
                break;
            default:
                throw new IllegalStateException("Unexpected value: " + level);
        }
        return itemStacks;
    }

    public static ArrayList<ItemStack> dropItemLevel1(Class clazz) {
        ArrayList<ItemStack> itemStacks = new ArrayList<>();
        if (RandomJugement.juge(0.5))
        if (RandomJugement.juge(0.8)) itemStacks.add(SeniorItems.strengtheningStone(1));
        else if (RandomJugement.juge(0.7)) itemStacks.add(SeniorItems.strengtheningStone(2));
        else if (RandomJugement.juge(0.7)) itemStacks.add(SeniorItems.strengtheningStone(3));
        else if (RandomJugement.juge(0.6)) itemStacks.add(SeniorItems.strengtheningStone(4));
        else if (RandomJugement.juge(0.6)) itemStacks.add(SeniorItems.strengtheningStone(5));
        else if (RandomJugement.juge(0.5)) itemStacks.add(SeniorItems.strengtheningStone(6));
        else if (RandomJugement.juge(0.5)) itemStacks.add(SeniorItems.strengtheningStone(7));
        else if (RandomJugement.juge(0.4)) itemStacks.add(SeniorItems.strengtheningStone(8));

        if (RandomJugement.juge(0.5))
        if (RandomJugement.juge(0.8)) itemStacks.add(SeniorItems.quenchingStone(1));
        else if (RandomJugement.juge(0.7)) itemStacks.add(SeniorItems.quenchingStone(2));
        else if (RandomJugement.juge(0.7)) itemStacks.add(SeniorItems.quenchingStone(3));
        else if (RandomJugement.juge(0.6)) itemStacks.add(SeniorItems.quenchingStone(4));
        else if (RandomJugement.juge(0.6)) itemStacks.add(SeniorItems.quenchingStone(5));
        else if (RandomJugement.juge(0.5)) itemStacks.add(SeniorItems.quenchingStone(6));
        else if (RandomJugement.juge(0.5)) itemStacks.add(SeniorItems.quenchingStone(7));
        else if (RandomJugement.juge(0.4)) itemStacks.add(SeniorItems.quenchingStone(8));

        if (RandomJugement.juge(0.4))
        if (RandomJugement.juge(0.8)) itemStacks.add(SeniorItems.gradeStone(1));
        else if (RandomJugement.juge(0.7)) itemStacks.add(SeniorItems.gradeStone(2));
        else if (RandomJugement.juge(0.7)) itemStacks.add(SeniorItems.gradeStone(3));
        else if (RandomJugement.juge(0.7)) itemStacks.add(SeniorItems.gradeStone(4));
        else if (RandomJugement.juge(0.6)) itemStacks.add(SeniorItems.gradeStone(5));
        else if (RandomJugement.juge(0.6)) itemStacks.add(SeniorItems.gradeStone(6));
        else if (RandomJugement.juge(0.6)) itemStacks.add(SeniorItems.gradeStone(7));
        else if (RandomJugement.juge(0.2)) itemStacks.add(SeniorItems.gradeStone(8));
        else if (RandomJugement.juge(0.2)) itemStacks.add(SeniorItems.gradeStone(9));
        else if (RandomJugement.juge(0.2)) itemStacks.add(SeniorItems.gradeStone(10));
        //if (clazz != null)
        for (ItemStack itemStack : itemStacks) System.out.println(itemStack.getItemMeta().getDisplayName());
        if (clazz == PigZombie.class) {
            // "赤眼猪妖";
        } else if (clazz == Hoglin.class) {
            // "烛残";
        } else if (clazz == Drowned.class) {
            // "水鬼";
        } else if (clazz == Zoglin.class) {
            // "僵烛残";
        } else if (clazz == ZombieVillager.class) {
            // "僵仔";
        } else if (clazz == Husk.class) {
            // "阎尸";
        } else if (clazz == Stray.class) {
            // "娄郎";
        } else if (clazz == Zombie.class) {
            // "狌々";
        } else if (clazz == WitherSkeleton.class) {
            // "乌凋";
        } else if (clazz == Skeleton.class) {
            // "拘缨";
        } else if (clazz == Spider.class) {
            // "鬿誉";
        } else if (clazz == Creeper.class) {
            // "司幽";
        } else if (clazz == Enderman.class) {
            // "獬豸";
        } else if (clazz == Piglin.class) {
            // "奎";
        } else if (clazz == Blaze.class) {
            // "赤燸";
        } else if (clazz == ElderGuardian.class) {
            // "大海虫";
        } else if (clazz == Guardian.class) {
            // "小海虫";
        } else if (clazz == Endermite.class) {
            // "羫";
        } else if (clazz == Evoker.class) {
            // "猰貐";
        } else if (clazz == Ghast.class) {
            // "血怼";
        } else if (clazz == MagmaCube.class) {
            // "血滴子";
        } else if (clazz == Slime.class) {
            // "莱莱";
        } else if (clazz == Vex.class) {
            // "魂瑜";
        } else if (clazz == Vindicator.class) {
            // "觊觎";
        } else if (clazz == Witch.class) {
            // "药姑";
        }
        return itemStacks;
    }

    public static ArrayList<ItemStack> dropItemLevel2(Class clazz) {
        ArrayList<ItemStack> itemStacks = new ArrayList<>();
        if (RandomJugement.juge(0.6))
        if (RandomJugement.juge(0.4)) itemStacks.add(SeniorItems.strengtheningStone(1));
        else if (RandomJugement.juge(0.5)) itemStacks.add(SeniorItems.strengtheningStone(2));
        else if (RandomJugement.juge(0.7)) itemStacks.add(SeniorItems.strengtheningStone(3));
        else if (RandomJugement.juge(0.7)) itemStacks.add(SeniorItems.strengtheningStone(4));
        else if (RandomJugement.juge(0.5)) itemStacks.add(SeniorItems.strengtheningStone(5));
        else if (RandomJugement.juge(0.5)) itemStacks.add(SeniorItems.strengtheningStone(6));
        else if (RandomJugement.juge(0.8)) itemStacks.add(SeniorItems.strengtheningStone(7));
        else if (RandomJugement.juge(0.6)) itemStacks.add(SeniorItems.strengtheningStone(8));

        if (RandomJugement.juge(0.6))
        if (RandomJugement.juge(0.4)) itemStacks.add(SeniorItems.quenchingStone(1));
        else if (RandomJugement.juge(0.5)) itemStacks.add(SeniorItems.quenchingStone(2));
        else if (RandomJugement.juge(0.7)) itemStacks.add(SeniorItems.quenchingStone(3));
        else if (RandomJugement.juge(0.7)) itemStacks.add(SeniorItems.quenchingStone(4));
        else if (RandomJugement.juge(0.5)) itemStacks.add(SeniorItems.quenchingStone(5));
        else if (RandomJugement.juge(0.5)) itemStacks.add(SeniorItems.quenchingStone(6));
        else if (RandomJugement.juge(0.8)) itemStacks.add(SeniorItems.quenchingStone(7));
        else if (RandomJugement.juge(0.6)) itemStacks.add(SeniorItems.quenchingStone(8));

        if (RandomJugement.juge(0.4))
        if (RandomJugement.juge(0.4)) itemStacks.add(SeniorItems.gradeStone(1));
        else if (RandomJugement.juge(0.5)) itemStacks.add(SeniorItems.gradeStone(2));
        else if (RandomJugement.juge(0.7)) itemStacks.add(SeniorItems.gradeStone(3));
        else if (RandomJugement.juge(0.7)) itemStacks.add(SeniorItems.gradeStone(4));
        else if (RandomJugement.juge(0.5)) itemStacks.add(SeniorItems.gradeStone(5));
        else if (RandomJugement.juge(0.5)) itemStacks.add(SeniorItems.gradeStone(6));
        else if (RandomJugement.juge(0.5)) itemStacks.add(SeniorItems.gradeStone(7));
        else if (RandomJugement.juge(0.2)) itemStacks.add(SeniorItems.gradeStone(8));
        else if (RandomJugement.juge(0.2)) itemStacks.add(SeniorItems.gradeStone(9));
        else if (RandomJugement.juge(0.2)) itemStacks.add(SeniorItems.gradeStone(10));
        if (clazz != null)
        if (clazz == PigZombie.class) {
            // "赤眼猪妖";
        } else if (clazz == Hoglin.class) {
            // "烛残";
        } else if (clazz == Drowned.class) {
            // "水鬼";
        } else if (clazz == Zoglin.class) {
            // "僵烛残";
        } else if (clazz == ZombieVillager.class) {
            // "僵仔";
        } else if (clazz == Husk.class) {
            // "阎尸";
        } else if (clazz == Stray.class) {
            // "娄郎";
        } else if (clazz == Zombie.class) {
            // "狌々";
        } else if (clazz == WitherSkeleton.class) {
            // "乌凋";
        } else if (clazz == Skeleton.class) {
            // "拘缨";
        } else if (clazz == Spider.class) {
            // "鬿誉";
        } else if (clazz == Creeper.class) {
            // "司幽";
        } else if (clazz == Enderman.class) {
            // "獬豸";
        } else if (clazz == Piglin.class) {
            // "奎";
        } else if (clazz == Blaze.class) {
            // "赤燸";
        } else if (clazz == ElderGuardian.class) {
            // "大海虫";
        } else if (clazz == Guardian.class) {
            // "小海虫";
        } else if (clazz == Endermite.class) {
            // "羫";
        } else if (clazz == Evoker.class) {
            // "猰貐";
        } else if (clazz == Ghast.class) {
            // "血怼";
        } else if (clazz == MagmaCube.class) {
            // "血滴子";
        } else if (clazz == Slime.class) {
            // "莱莱";
        } else if (clazz == Vex.class) {
            // "魂瑜";
        } else if (clazz == Vindicator.class) {
            // "觊觎";
        } else if (clazz == Witch.class) {
            // "药姑";
        }
        return itemStacks;
    }
    public static ArrayList<ItemStack> dropItemLevel3(Class clazz) {
        ArrayList<ItemStack> itemStacks = new ArrayList<>();
        if (RandomJugement.juge(0.6))
        if (RandomJugement.juge(0.4)) itemStacks.add(SeniorItems.strengtheningStone(1));
        else if (RandomJugement.juge(0.6)) itemStacks.add(SeniorItems.strengtheningStone(2));
        else if (RandomJugement.juge(0.8)) itemStacks.add(SeniorItems.strengtheningStone(3));
        else if (RandomJugement.juge(0.5)) itemStacks.add(SeniorItems.strengtheningStone(4));
        else if (RandomJugement.juge(0.3)) itemStacks.add(SeniorItems.strengtheningStone(5));
        else if (RandomJugement.juge(0.5)) itemStacks.add(SeniorItems.strengtheningStone(6));
        else if (RandomJugement.juge(0.8)) itemStacks.add(SeniorItems.strengtheningStone(7));
        else if (RandomJugement.juge(0.6)) itemStacks.add(SeniorItems.strengtheningStone(8));

        if (RandomJugement.juge(0.6))
        if (RandomJugement.juge(0.4)) itemStacks.add(SeniorItems.quenchingStone(1));
        else if (RandomJugement.juge(0.6)) itemStacks.add(SeniorItems.quenchingStone(2));
        else if (RandomJugement.juge(0.7)) itemStacks.add(SeniorItems.quenchingStone(3));
        else if (RandomJugement.juge(0.5)) itemStacks.add(SeniorItems.quenchingStone(4));
        else if (RandomJugement.juge(0.3)) itemStacks.add(SeniorItems.quenchingStone(5));
        else if (RandomJugement.juge(0.4)) itemStacks.add(SeniorItems.quenchingStone(6));
        else if (RandomJugement.juge(0.8)) itemStacks.add(SeniorItems.quenchingStone(7));
        else if (RandomJugement.juge(0.6)) itemStacks.add(SeniorItems.quenchingStone(8));

        if (RandomJugement.juge(0.4))
        if (RandomJugement.juge(0.4)) itemStacks.add(SeniorItems.gradeStone(1));
        else if (RandomJugement.juge(0.5)) itemStacks.add(SeniorItems.gradeStone(2));
        else if (RandomJugement.juge(0.5)) itemStacks.add(SeniorItems.gradeStone(3));
        else if (RandomJugement.juge(0.8)) itemStacks.add(SeniorItems.gradeStone(4));
        else if (RandomJugement.juge(0.8)) itemStacks.add(SeniorItems.gradeStone(5));
        else if (RandomJugement.juge(0.7)) itemStacks.add(SeniorItems.gradeStone(6));
        else if (RandomJugement.juge(0.6)) itemStacks.add(SeniorItems.gradeStone(7));
        else if (RandomJugement.juge(0.2)) itemStacks.add(SeniorItems.gradeStone(8));
        else if (RandomJugement.juge(0.2)) itemStacks.add(SeniorItems.gradeStone(9));
        else if (RandomJugement.juge(0.2)) itemStacks.add(SeniorItems.gradeStone(10));
        if (clazz != null)
        if (clazz == PigZombie.class) {
            // "赤眼猪妖";
        } else if (clazz == Hoglin.class) {
            // "烛残";
        } else if (clazz == Drowned.class) {
            // "水鬼";
        } else if (clazz == Zoglin.class) {
            // "僵烛残";
        } else if (clazz == ZombieVillager.class) {
            // "僵仔";
        } else if (clazz == Husk.class) {
            // "阎尸";
        } else if (clazz == Stray.class) {
            // "娄郎";
        } else if (clazz == Zombie.class) {
            // "狌々";
        } else if (clazz == WitherSkeleton.class) {
            // "乌凋";
        } else if (clazz == Skeleton.class) {
            // "拘缨";
        } else if (clazz == Spider.class) {
            // "鬿誉";
        } else if (clazz == Creeper.class) {
            // "司幽";
        } else if (clazz == Enderman.class) {
            // "獬豸";
        } else if (clazz == Piglin.class) {
            // "奎";
        } else if (clazz == Blaze.class) {
            // "赤燸";
        } else if (clazz == ElderGuardian.class) {
            // "大海虫";
        } else if (clazz == Guardian.class) {
            // "小海虫";
        } else if (clazz == Endermite.class) {
            // "羫";
        } else if (clazz == Evoker.class) {
            // "猰貐";
        } else if (clazz == Ghast.class) {
            // "血怼";
        } else if (clazz == MagmaCube.class) {
            // "血滴子";
        } else if (clazz == Slime.class) {
            // "莱莱";
        } else if (clazz == Vex.class) {
            // "魂瑜";
        } else if (clazz == Vindicator.class) {
            // "觊觎";
        } else if (clazz == Witch.class) {
            // "药姑";
        }
        return itemStacks;
    }
    public static ArrayList<ItemStack> dropItemLevel4(Class clazz) {
        ArrayList<ItemStack> itemStacks = new ArrayList<>();
        if (RandomJugement.juge(0.6))
        if (RandomJugement.juge(0.4)) itemStacks.add(SeniorItems.strengtheningStone(1));
        else if (RandomJugement.juge(0.5)) itemStacks.add(SeniorItems.strengtheningStone(2));
        else if (RandomJugement.juge(0.7)) itemStacks.add(SeniorItems.strengtheningStone(3));
        else if (RandomJugement.juge(0.5)) itemStacks.add(SeniorItems.strengtheningStone(4));
        else if (RandomJugement.juge(0.3)) itemStacks.add(SeniorItems.strengtheningStone(5));
        else if (RandomJugement.juge(0.8)) itemStacks.add(SeniorItems.strengtheningStone(6));
        else if (RandomJugement.juge(0.8)) itemStacks.add(SeniorItems.strengtheningStone(7));
        else if (RandomJugement.juge(0.6)) itemStacks.add(SeniorItems.strengtheningStone(8));

        if (RandomJugement.juge(0.6))
        if (RandomJugement.juge(0.4)) itemStacks.add(SeniorItems.quenchingStone(1));
        else if (RandomJugement.juge(0.5)) itemStacks.add(SeniorItems.quenchingStone(2));
        else if (RandomJugement.juge(0.7)) itemStacks.add(SeniorItems.quenchingStone(3));
        else if (RandomJugement.juge(0.5)) itemStacks.add(SeniorItems.quenchingStone(4));
        else if (RandomJugement.juge(0.8)) itemStacks.add(SeniorItems.quenchingStone(5));
        else if (RandomJugement.juge(0.4)) itemStacks.add(SeniorItems.quenchingStone(6));
        else if (RandomJugement.juge(0.8)) itemStacks.add(SeniorItems.quenchingStone(7));
        else if (RandomJugement.juge(0.6)) itemStacks.add(SeniorItems.quenchingStone(8));

        if (RandomJugement.juge(0.5))
        if (RandomJugement.juge(0.4)) itemStacks.add(SeniorItems.gradeStone(1));
        else if (RandomJugement.juge(0.3)) itemStacks.add(SeniorItems.gradeStone(2));
        else if (RandomJugement.juge(0.2)) itemStacks.add(SeniorItems.gradeStone(3));
        else if (RandomJugement.juge(0.9)) itemStacks.add(SeniorItems.gradeStone(4));
        else if (RandomJugement.juge(0.8)) itemStacks.add(SeniorItems.gradeStone(5));
        else if (RandomJugement.juge(0.7)) itemStacks.add(SeniorItems.gradeStone(6));
        else if (RandomJugement.juge(0.6)) itemStacks.add(SeniorItems.gradeStone(7));
        else if (RandomJugement.juge(0.3)) itemStacks.add(SeniorItems.gradeStone(8));
        else if (RandomJugement.juge(0.3)) itemStacks.add(SeniorItems.gradeStone(9));
        else if (RandomJugement.juge(0.3)) itemStacks.add(SeniorItems.gradeStone(10));
        if (clazz != null)
        if (clazz == PigZombie.class) {
            // "赤眼猪妖";
        } else if (clazz == Hoglin.class) {
            // "烛残";
        } else if (clazz == Drowned.class) {
            // "水鬼";
        } else if (clazz == Zoglin.class) {
            // "僵烛残";
        } else if (clazz == ZombieVillager.class) {
            // "僵仔";
        } else if (clazz == Husk.class) {
            // "阎尸";
        } else if (clazz == Stray.class) {
            // "娄郎";
        } else if (clazz == Zombie.class) {
            // "狌々";
        } else if (clazz == WitherSkeleton.class) {
            // "乌凋";
        } else if (clazz == Skeleton.class) {
            // "拘缨";
        } else if (clazz == Spider.class) {
            // "鬿誉";
        } else if (clazz == Creeper.class) {
            // "司幽";
        } else if (clazz == Enderman.class) {
            // "獬豸";
        } else if (clazz == Piglin.class) {
            // "奎";
        } else if (clazz == Blaze.class) {
            // "赤燸";
        } else if (clazz == ElderGuardian.class) {
            // "大海虫";
        } else if (clazz == Guardian.class) {
            // "小海虫";
        } else if (clazz == Endermite.class) {
            // "羫";
        } else if (clazz == Evoker.class) {
            // "猰貐";
        } else if (clazz == Ghast.class) {
            // "血怼";
        } else if (clazz == MagmaCube.class) {
            // "血滴子";
        } else if (clazz == Slime.class) {
            // "莱莱";
        } else if (clazz == Vex.class) {
            // "魂瑜";
        } else if (clazz == Vindicator.class) {
            // "觊觎";
        } else if (clazz == Witch.class) {
            // "药姑";
        }
        return itemStacks;
    }
    public static ArrayList<ItemStack> dropItemLevel5(Class clazz) {
        ArrayList<ItemStack> itemStacks = new ArrayList<>();
        if (RandomJugement.juge(0.6))
        if (RandomJugement.juge(0.4)) itemStacks.add(SeniorItems.strengtheningStone(1));
        else if (RandomJugement.juge(0.9)) itemStacks.add(SeniorItems.strengtheningStone(2));
        else if (RandomJugement.juge(0.7)) itemStacks.add(SeniorItems.strengtheningStone(3));
        else if (RandomJugement.juge(0.5)) itemStacks.add(SeniorItems.strengtheningStone(4));
        else if (RandomJugement.juge(0.3)) itemStacks.add(SeniorItems.strengtheningStone(5));
        else if (RandomJugement.juge(0.8)) itemStacks.add(SeniorItems.strengtheningStone(6));
        else if (RandomJugement.juge(0.8)) itemStacks.add(SeniorItems.strengtheningStone(7));
        else if (RandomJugement.juge(0.6)) itemStacks.add(SeniorItems.strengtheningStone(8));

        if (RandomJugement.juge(0.6))
        if (RandomJugement.juge(0.4)) itemStacks.add(SeniorItems.quenchingStone(1));
        else if (RandomJugement.juge(0.9)) itemStacks.add(SeniorItems.quenchingStone(2));
        else if (RandomJugement.juge(0.7)) itemStacks.add(SeniorItems.quenchingStone(3));
        else if (RandomJugement.juge(0.5)) itemStacks.add(SeniorItems.quenchingStone(4));
        else if (RandomJugement.juge(0.3)) itemStacks.add(SeniorItems.quenchingStone(5));
        else if (RandomJugement.juge(0.1)) itemStacks.add(SeniorItems.quenchingStone(6));
        else if (RandomJugement.juge(0.8)) itemStacks.add(SeniorItems.quenchingStone(7));
        else if (RandomJugement.juge(0.6)) itemStacks.add(SeniorItems.quenchingStone(8));

        if (RandomJugement.juge(0.5))
        if (RandomJugement.juge(0.4)) itemStacks.add(SeniorItems.gradeStone(1));
        else if (RandomJugement.juge(0.3)) itemStacks.add(SeniorItems.gradeStone(2));
        else if (RandomJugement.juge(0.2)) itemStacks.add(SeniorItems.gradeStone(3));
        else if (RandomJugement.juge(0.9)) itemStacks.add(SeniorItems.gradeStone(4));
        else if (RandomJugement.juge(0.8)) itemStacks.add(SeniorItems.gradeStone(5));
        else if (RandomJugement.juge(0.7)) itemStacks.add(SeniorItems.gradeStone(6));
        else if (RandomJugement.juge(0.6)) itemStacks.add(SeniorItems.gradeStone(7));
        else if (RandomJugement.juge(0.3)) itemStacks.add(SeniorItems.gradeStone(8));
        else if (RandomJugement.juge(0.3)) itemStacks.add(SeniorItems.gradeStone(9));
        else if (RandomJugement.juge(0.3)) itemStacks.add(SeniorItems.gradeStone(10));
        if (clazz != null)
        if (clazz == PigZombie.class) {
            // "赤眼猪妖";
        } else if (clazz == Hoglin.class) {
            // "烛残";
        } else if (clazz == Drowned.class) {
            // "水鬼";
        } else if (clazz == Zoglin.class) {
            // "僵烛残";
        } else if (clazz == ZombieVillager.class) {
            // "僵仔";
        } else if (clazz == Husk.class) {
            // "阎尸";
        } else if (clazz == Stray.class) {
            // "娄郎";
        } else if (clazz == Zombie.class) {
            // "狌々";
        } else if (clazz == WitherSkeleton.class) {
            // "乌凋";
        } else if (clazz == Skeleton.class) {
            // "拘缨";
        } else if (clazz == Spider.class) {
            // "鬿誉";
        } else if (clazz == Creeper.class) {
            // "司幽";
        } else if (clazz == Enderman.class) {
            // "獬豸";
        } else if (clazz == Piglin.class) {
            // "奎";
        } else if (clazz == Blaze.class) {
            // "赤燸";
        } else if (clazz == ElderGuardian.class) {
            // "大海虫";
        } else if (clazz == Guardian.class) {
            // "小海虫";
        } else if (clazz == Endermite.class) {
            // "羫";
        } else if (clazz == Evoker.class) {
            // "猰貐";
        } else if (clazz == Ghast.class) {
            // "血怼";
        } else if (clazz == MagmaCube.class) {
            // "血滴子";
        } else if (clazz == Slime.class) {
            // "莱莱";
        } else if (clazz == Vex.class) {
            // "魂瑜";
        } else if (clazz == Vindicator.class) {
            // "觊觎";
        } else if (clazz == Witch.class) {
            // "药姑";
        }
        return itemStacks;
    }
    public static ArrayList<ItemStack> dropItemLevel6(Class clazz) {
        ArrayList<ItemStack> itemStacks = new ArrayList<>();
        if (RandomJugement.juge(0.7))
        if (RandomJugement.juge(0.2)) itemStacks.add(SeniorItems.strengtheningStone(1));
        else if (RandomJugement.juge(0.4)) itemStacks.add(SeniorItems.strengtheningStone(2));
        else if (RandomJugement.juge(0.4)) itemStacks.add(SeniorItems.strengtheningStone(3));
        else if (RandomJugement.juge(0.5)) itemStacks.add(SeniorItems.strengtheningStone(4));
        else if (RandomJugement.juge(0.6)) itemStacks.add(SeniorItems.strengtheningStone(5));
        else if (RandomJugement.juge(0.7)) itemStacks.add(SeniorItems.strengtheningStone(6));
        else if (RandomJugement.juge(0.6)) itemStacks.add(SeniorItems.strengtheningStone(7));
        else if (RandomJugement.juge(0.3)) itemStacks.add(SeniorItems.strengtheningStone(8));

        if (RandomJugement.juge(0.7))
        if (RandomJugement.juge(0.2)) itemStacks.add(SeniorItems.quenchingStone(1));
        else if (RandomJugement.juge(0.4)) itemStacks.add(SeniorItems.quenchingStone(2));
        else if (RandomJugement.juge(0.4)) itemStacks.add(SeniorItems.quenchingStone(3));
        else if (RandomJugement.juge(0.5)) itemStacks.add(SeniorItems.quenchingStone(4));
        else if (RandomJugement.juge(0.6)) itemStacks.add(SeniorItems.quenchingStone(5));
        else if (RandomJugement.juge(0.7)) itemStacks.add(SeniorItems.quenchingStone(6));
        else if (RandomJugement.juge(0.6)) itemStacks.add(SeniorItems.quenchingStone(7));
        else if (RandomJugement.juge(0.3)) itemStacks.add(SeniorItems.quenchingStone(8));

        if (RandomJugement.juge(0.5))
        if (RandomJugement.juge(0.4)) itemStacks.add(SeniorItems.gradeStone(1));
        else if (RandomJugement.juge(0.3)) itemStacks.add(SeniorItems.gradeStone(2));
        else if (RandomJugement.juge(0.2)) itemStacks.add(SeniorItems.gradeStone(3));
        else if (RandomJugement.juge(0.9)) itemStacks.add(SeniorItems.gradeStone(4));
        else if (RandomJugement.juge(0.8)) itemStacks.add(SeniorItems.gradeStone(5));
        else if (RandomJugement.juge(0.7)) itemStacks.add(SeniorItems.gradeStone(6));
        else if (RandomJugement.juge(0.6)) itemStacks.add(SeniorItems.gradeStone(7));
        else if (RandomJugement.juge(0.3)) itemStacks.add(SeniorItems.gradeStone(8));
        else if (RandomJugement.juge(0.3)) itemStacks.add(SeniorItems.gradeStone(9));
        else if (RandomJugement.juge(0.3)) itemStacks.add(SeniorItems.gradeStone(10));
        if (clazz != null)
        if (clazz == PigZombie.class) {
            // "赤眼猪妖";
        } else if (clazz == Hoglin.class) {
            // "烛残";
        } else if (clazz == Drowned.class) {
            // "水鬼";
        } else if (clazz == Zoglin.class) {
            // "僵烛残";
        } else if (clazz == ZombieVillager.class) {
            // "僵仔";
        } else if (clazz == Husk.class) {
            // "阎尸";
        } else if (clazz == Stray.class) {
            // "娄郎";
        } else if (clazz == Zombie.class) {
            // "狌々";
        } else if (clazz == WitherSkeleton.class) {
            // "乌凋";
        } else if (clazz == Skeleton.class) {
            // "拘缨";
        } else if (clazz == Spider.class) {
            // "鬿誉";
        } else if (clazz == Creeper.class) {
            // "司幽";
        } else if (clazz == Enderman.class) {
            // "獬豸";
        } else if (clazz == Piglin.class) {
            // "奎";
        } else if (clazz == Blaze.class) {
            // "赤燸";
        } else if (clazz == ElderGuardian.class) {
            // "大海虫";
        } else if (clazz == Guardian.class) {
            // "小海虫";
        } else if (clazz == Endermite.class) {
            // "羫";
        } else if (clazz == Evoker.class) {
            // "猰貐";
        } else if (clazz == Ghast.class) {
            // "血怼";
        } else if (clazz == MagmaCube.class) {
            // "血滴子";
        } else if (clazz == Slime.class) {
            // "莱莱";
        } else if (clazz == Vex.class) {
            // "魂瑜";
        } else if (clazz == Vindicator.class) {
            // "觊觎";
        } else if (clazz == Witch.class) {
            // "药姑";
        }
        return itemStacks;
    }
    public static ArrayList<ItemStack> dropItemLevel7(Class clazz) {
        ArrayList<ItemStack> itemStacks = new ArrayList<>();
        if (RandomJugement.juge(0.7))
        if (RandomJugement.juge(0.3)) itemStacks.add(SeniorItems.strengtheningStone(1));
        else if (RandomJugement.juge(0.3)) itemStacks.add(SeniorItems.strengtheningStone(2));
        else if (RandomJugement.juge(0.3)) itemStacks.add(SeniorItems.strengtheningStone(3));
        else if (RandomJugement.juge(0.3)) itemStacks.add(SeniorItems.strengtheningStone(4));
        else if (RandomJugement.juge(0.6)) itemStacks.add(SeniorItems.strengtheningStone(5));
        else if (RandomJugement.juge(0.7)) itemStacks.add(SeniorItems.strengtheningStone(6));
        else if (RandomJugement.juge(0.7)) itemStacks.add(SeniorItems.strengtheningStone(7));
        else if (RandomJugement.juge(0.5)) itemStacks.add(SeniorItems.strengtheningStone(8));

        if (RandomJugement.juge(0.7))
        if (RandomJugement.juge(0.3)) itemStacks.add(SeniorItems.quenchingStone(1));
        else if (RandomJugement.juge(0.3)) itemStacks.add(SeniorItems.quenchingStone(2));
        else if (RandomJugement.juge(0.3)) itemStacks.add(SeniorItems.quenchingStone(3));
        else if (RandomJugement.juge(0.3)) itemStacks.add(SeniorItems.quenchingStone(4));
        else if (RandomJugement.juge(0.6)) itemStacks.add(SeniorItems.quenchingStone(5));
        else if (RandomJugement.juge(0.7)) itemStacks.add(SeniorItems.quenchingStone(6));
        else if (RandomJugement.juge(0.7)) itemStacks.add(SeniorItems.quenchingStone(7));
        else if (RandomJugement.juge(0.5)) itemStacks.add(SeniorItems.quenchingStone(8));

        if (RandomJugement.juge(0.6))
        if (RandomJugement.juge(0.3)) itemStacks.add(SeniorItems.gradeStone(1));
        else if (RandomJugement.juge(0.3)) itemStacks.add(SeniorItems.gradeStone(2));
        else if (RandomJugement.juge(0.2)) itemStacks.add(SeniorItems.gradeStone(3));
        else if (RandomJugement.juge(0.7)) itemStacks.add(SeniorItems.gradeStone(4));
        else if (RandomJugement.juge(0.8)) itemStacks.add(SeniorItems.gradeStone(5));
        else if (RandomJugement.juge(0.7)) itemStacks.add(SeniorItems.gradeStone(6));
        else if (RandomJugement.juge(0.7)) itemStacks.add(SeniorItems.gradeStone(7));
        else if (RandomJugement.juge(0.3)) itemStacks.add(SeniorItems.gradeStone(8));
        else if (RandomJugement.juge(0.4)) itemStacks.add(SeniorItems.gradeStone(9));
        else if (RandomJugement.juge(0.4)) itemStacks.add(SeniorItems.gradeStone(10));
        if (clazz != null)
        if (clazz == PigZombie.class) {
            // "赤眼猪妖";
        } else if (clazz == Hoglin.class) {
            // "烛残";
        } else if (clazz == Drowned.class) {
            // "水鬼";
        } else if (clazz == Zoglin.class) {
            // "僵烛残";
        } else if (clazz == ZombieVillager.class) {
            // "僵仔";
        } else if (clazz == Husk.class) {
            // "阎尸";
        } else if (clazz == Stray.class) {
            // "娄郎";
        } else if (clazz == Zombie.class) {
            // "狌々";
        } else if (clazz == WitherSkeleton.class) {
            // "乌凋";
        } else if (clazz == Skeleton.class) {
            // "拘缨";
        } else if (clazz == Spider.class) {
            // "鬿誉";
        } else if (clazz == Creeper.class) {
            // "司幽";
        } else if (clazz == Enderman.class) {
            // "獬豸";
        } else if (clazz == Piglin.class) {
            // "奎";
        } else if (clazz == Blaze.class) {
            // "赤燸";
        } else if (clazz == ElderGuardian.class) {
            // "大海虫";
        } else if (clazz == Guardian.class) {
            // "小海虫";
        } else if (clazz == Endermite.class) {
            // "羫";
        } else if (clazz == Evoker.class) {
            // "猰貐";
        } else if (clazz == Ghast.class) {
            // "血怼";
        } else if (clazz == MagmaCube.class) {
            // "血滴子";
        } else if (clazz == Slime.class) {
            // "莱莱";
        } else if (clazz == Vex.class) {
            // "魂瑜";
        } else if (clazz == Vindicator.class) {
            // "觊觎";
        } else if (clazz == Witch.class) {
            // "药姑";
        }
        return itemStacks;
    }
    public static ArrayList<ItemStack> dropItemLevel8(Class clazz) {
        ArrayList<ItemStack> itemStacks = new ArrayList<>();
        if (RandomJugement.juge(0.8))
        if (RandomJugement.juge(0.2)) itemStacks.add(SeniorItems.strengtheningStone(1));
        else if (RandomJugement.juge(0.2)) itemStacks.add(SeniorItems.strengtheningStone(2));
        else if (RandomJugement.juge(0.3)) itemStacks.add(SeniorItems.strengtheningStone(3));
        else if (RandomJugement.juge(0.3)) itemStacks.add(SeniorItems.strengtheningStone(4));
        else if (RandomJugement.juge(0.3)) itemStacks.add(SeniorItems.strengtheningStone(5));
        else if (RandomJugement.juge(0.8)) itemStacks.add(SeniorItems.strengtheningStone(6));
        else if (RandomJugement.juge(0.8)) itemStacks.add(SeniorItems.strengtheningStone(7));
        else if (RandomJugement.juge(0.6)) itemStacks.add(SeniorItems.strengtheningStone(8));

        if (RandomJugement.juge(0.8))
        if (RandomJugement.juge(0.2)) itemStacks.add(SeniorItems.quenchingStone(1));
        else if (RandomJugement.juge(0.2)) itemStacks.add(SeniorItems.quenchingStone(2));
        else if (RandomJugement.juge(0.3)) itemStacks.add(SeniorItems.quenchingStone(3));
        else if (RandomJugement.juge(0.3)) itemStacks.add(SeniorItems.quenchingStone(4));
        else if (RandomJugement.juge(0.3)) itemStacks.add(SeniorItems.quenchingStone(5));
        else if (RandomJugement.juge(0.8)) itemStacks.add(SeniorItems.quenchingStone(6));
        else if (RandomJugement.juge(0.8)) itemStacks.add(SeniorItems.quenchingStone(7));
        else if (RandomJugement.juge(0.6)) itemStacks.add(SeniorItems.quenchingStone(8));

        if (RandomJugement.juge(0.7))
        if (RandomJugement.juge(0.3)) itemStacks.add(SeniorItems.gradeStone(1));
        else if (RandomJugement.juge(0.3)) itemStacks.add(SeniorItems.gradeStone(2));
        else if (RandomJugement.juge(0.2)) itemStacks.add(SeniorItems.gradeStone(3));
        else if (RandomJugement.juge(0.3)) itemStacks.add(SeniorItems.gradeStone(4));
        else if (RandomJugement.juge(0.3)) itemStacks.add(SeniorItems.gradeStone(5));
        else if (RandomJugement.juge(0.3)) itemStacks.add(SeniorItems.gradeStone(6));
        else if (RandomJugement.juge(0.7)) itemStacks.add(SeniorItems.gradeStone(7));
        else if (RandomJugement.juge(0.4)) itemStacks.add(SeniorItems.gradeStone(8));
        else if (RandomJugement.juge(0.4)) itemStacks.add(SeniorItems.gradeStone(9));
        else if (RandomJugement.juge(0.4)) itemStacks.add(SeniorItems.gradeStone(10));
        if (clazz != null)
        if (clazz == PigZombie.class) {
            // "赤眼猪妖";
        } else if (clazz == Hoglin.class) {
            // "烛残";
        } else if (clazz == Drowned.class) {
            // "水鬼";
        } else if (clazz == Zoglin.class) {
            // "僵烛残";
        } else if (clazz == ZombieVillager.class) {
            // "僵仔";
        } else if (clazz == Husk.class) {
            // "阎尸";
        } else if (clazz == Stray.class) {
            // "娄郎";
        } else if (clazz == Zombie.class) {
            // "狌々";
        } else if (clazz == WitherSkeleton.class) {
            // "乌凋";
        } else if (clazz == Skeleton.class) {
            // "拘缨";
        } else if (clazz == Spider.class) {
            // "鬿誉";
        } else if (clazz == Creeper.class) {
            // "司幽";
        } else if (clazz == Enderman.class) {
            // "獬豸";
        } else if (clazz == Piglin.class) {
            // "奎";
        } else if (clazz == Blaze.class) {
            // "赤燸";
        } else if (clazz == ElderGuardian.class) {
            // "大海虫";
        } else if (clazz == Guardian.class) {
            // "小海虫";
        } else if (clazz == Endermite.class) {
            // "羫";
        } else if (clazz == Evoker.class) {
            // "猰貐";
        } else if (clazz == Ghast.class) {
            // "血怼";
        } else if (clazz == MagmaCube.class) {
            // "血滴子";
        } else if (clazz == Slime.class) {
            // "莱莱";
        } else if (clazz == Vex.class) {
            // "魂瑜";
        } else if (clazz == Vindicator.class) {
            // "觊觎";
        } else if (clazz == Witch.class) {
            // "药姑";
        }
        return itemStacks;
    }
    public static ArrayList<ItemStack> dropItemLevel9(Class clazz) {
        ArrayList<ItemStack> itemStacks = new ArrayList<>();
        if (RandomJugement.juge(0.9))
        if (RandomJugement.juge(0.2)) itemStacks.add(SeniorItems.strengtheningStone(1));
        else if (RandomJugement.juge(0.2)) itemStacks.add(SeniorItems.strengtheningStone(2));
        else if (RandomJugement.juge(0.2)) itemStacks.add(SeniorItems.strengtheningStone(3));
        else if (RandomJugement.juge(0.2)) itemStacks.add(SeniorItems.strengtheningStone(4));
        else if (RandomJugement.juge(0.2)) itemStacks.add(SeniorItems.strengtheningStone(5));
        else if (RandomJugement.juge(0.2)) itemStacks.add(SeniorItems.strengtheningStone(6));
        else if (RandomJugement.juge(0.8)) itemStacks.add(SeniorItems.strengtheningStone(7));
        else if (RandomJugement.juge(0.8)) itemStacks.add(SeniorItems.strengtheningStone(8));

        if (RandomJugement.juge(0.8))
        if (RandomJugement.juge(0.2)) itemStacks.add(SeniorItems.quenchingStone(1));
        else if (RandomJugement.juge(0.2)) itemStacks.add(SeniorItems.quenchingStone(2));
        else if (RandomJugement.juge(0.2)) itemStacks.add(SeniorItems.quenchingStone(3));
        else if (RandomJugement.juge(0.2)) itemStacks.add(SeniorItems.quenchingStone(4));
        else if (RandomJugement.juge(0.2)) itemStacks.add(SeniorItems.quenchingStone(5));
        else if (RandomJugement.juge(0.2)) itemStacks.add(SeniorItems.quenchingStone(6));
        else if (RandomJugement.juge(0.8)) itemStacks.add(SeniorItems.quenchingStone(7));
        else if (RandomJugement.juge(0.8)) itemStacks.add(SeniorItems.quenchingStone(8));

        if (RandomJugement.juge(0.7))
        if (RandomJugement.juge(0.2)) itemStacks.add(SeniorItems.gradeStone(1));
        else if (RandomJugement.juge(0.2)) itemStacks.add(SeniorItems.gradeStone(2));
        else if (RandomJugement.juge(0.2)) itemStacks.add(SeniorItems.gradeStone(3));
        else if (RandomJugement.juge(0.2)) itemStacks.add(SeniorItems.gradeStone(4));
        else if (RandomJugement.juge(0.6)) itemStacks.add(SeniorItems.gradeStone(5));
        else if (RandomJugement.juge(0.2)) itemStacks.add(SeniorItems.gradeStone(6));
        else if (RandomJugement.juge(0.2)) itemStacks.add(SeniorItems.gradeStone(7));
        else if (RandomJugement.juge(0.4)) itemStacks.add(SeniorItems.gradeStone(8));
        else if (RandomJugement.juge(0.4)) itemStacks.add(SeniorItems.gradeStone(9));
        else if (RandomJugement.juge(0.4)) itemStacks.add(SeniorItems.gradeStone(10));
        if (clazz != null)
        if (clazz == PigZombie.class) {
            // "赤眼猪妖";
        } else if (clazz == Hoglin.class) {
            // "烛残";
        } else if (clazz == Drowned.class) {
            // "水鬼";
        } else if (clazz == Zoglin.class) {
            // "僵烛残";
        } else if (clazz == ZombieVillager.class) {
            // "僵仔";
        } else if (clazz == Husk.class) {
            // "阎尸";
        } else if (clazz == Stray.class) {
            // "娄郎";
        } else if (clazz == Zombie.class) {
            // "狌々";
        } else if (clazz == WitherSkeleton.class) {
            // "乌凋";
        } else if (clazz == Skeleton.class) {
            // "拘缨";
        } else if (clazz == Spider.class) {
            // "鬿誉";
        } else if (clazz == Creeper.class) {
            // "司幽";
        } else if (clazz == Enderman.class) {
            // "獬豸";
        } else if (clazz == Piglin.class) {
            // "奎";
        } else if (clazz == Blaze.class) {
            // "赤燸";
        } else if (clazz == ElderGuardian.class) {
            // "大海虫";
        } else if (clazz == Guardian.class) {
            // "小海虫";
        } else if (clazz == Endermite.class) {
            // "羫";
        } else if (clazz == Evoker.class) {
            // "猰貐";
        } else if (clazz == Ghast.class) {
            // "血怼";
        } else if (clazz == MagmaCube.class) {
            // "血滴子";
        } else if (clazz == Slime.class) {
            // "莱莱";
        } else if (clazz == Vex.class) {
            // "魂瑜";
        } else if (clazz == Vindicator.class) {
            // "觊觎";
        } else if (clazz == Witch.class) {
            // "药姑";
        }
        return itemStacks;
    }
    public static ArrayList<ItemStack> dropItemLevel10(Class clazz) {
        ArrayList<ItemStack> itemStacks = new ArrayList<>();
        if (RandomJugement.juge(0.1)) itemStacks.add(SeniorItems.strengtheningStone(1));
        else if (RandomJugement.juge(0.1)) itemStacks.add(SeniorItems.strengtheningStone(2));
        else if (RandomJugement.juge(0.1)) itemStacks.add(SeniorItems.strengtheningStone(3));
        else if (RandomJugement.juge(0.1)) itemStacks.add(SeniorItems.strengtheningStone(4));
        else if (RandomJugement.juge(0.1)) itemStacks.add(SeniorItems.strengtheningStone(5));
        else if (RandomJugement.juge(0.1)) itemStacks.add(SeniorItems.strengtheningStone(6));
        else if (RandomJugement.juge(0.9)) itemStacks.add(SeniorItems.strengtheningStone(7));
        else if (RandomJugement.juge(0.9)) itemStacks.add(SeniorItems.strengtheningStone(8));

        if (RandomJugement.juge(0.1)) itemStacks.add(SeniorItems.quenchingStone(1));
        else if (RandomJugement.juge(0.1)) itemStacks.add(SeniorItems.quenchingStone(2));
        else if (RandomJugement.juge(0.1)) itemStacks.add(SeniorItems.quenchingStone(3));
        else if (RandomJugement.juge(0.1)) itemStacks.add(SeniorItems.quenchingStone(4));
        else if (RandomJugement.juge(0.1)) itemStacks.add(SeniorItems.quenchingStone(5));
        else if (RandomJugement.juge(0.1)) itemStacks.add(SeniorItems.quenchingStone(6));
        else if (RandomJugement.juge(0.9)) itemStacks.add(SeniorItems.quenchingStone(7));
        else if (RandomJugement.juge(0.9)) itemStacks.add(SeniorItems.quenchingStone(8));

        if (RandomJugement.juge(0.1)) itemStacks.add(SeniorItems.gradeStone(1));
        else if (RandomJugement.juge(0.1)) itemStacks.add(SeniorItems.gradeStone(2));
        else if (RandomJugement.juge(0.1)) itemStacks.add(SeniorItems.gradeStone(3));
        else if (RandomJugement.juge(0.1)) itemStacks.add(SeniorItems.gradeStone(4));
        else if (RandomJugement.juge(0.1)) itemStacks.add(SeniorItems.gradeStone(5));
        else if (RandomJugement.juge(0.1)) itemStacks.add(SeniorItems.gradeStone(6));
        else if (RandomJugement.juge(0.1)) itemStacks.add(SeniorItems.gradeStone(7));
        else if (RandomJugement.juge(0.5)) itemStacks.add(SeniorItems.gradeStone(8));
        else if (RandomJugement.juge(0.5)) itemStacks.add(SeniorItems.gradeStone(9));
        else if (RandomJugement.juge(0.5)) itemStacks.add(SeniorItems.gradeStone(10));
        if (clazz != null)
        if (clazz == PigZombie.class) {
            // "赤眼猪妖";
        } else if (clazz == Hoglin.class) {
            // "烛残";
        } else if (clazz == Drowned.class) {
            // "水鬼";
        } else if (clazz == Zoglin.class) {
            // "僵烛残";
        } else if (clazz == ZombieVillager.class) {
            // "僵仔";
        } else if (clazz == Husk.class) {
            // "阎尸";
        } else if (clazz == Stray.class) {
            // "娄郎";
        } else if (clazz == Zombie.class) {
            // "狌々";
        } else if (clazz == WitherSkeleton.class) {
            // "乌凋";
        } else if (clazz == Skeleton.class) {
            // "拘缨";
        } else if (clazz == Spider.class) {
            // "鬿誉";
        } else if (clazz == Creeper.class) {
            // "司幽";
        } else if (clazz == Enderman.class) {
            // "獬豸";
        } else if (clazz == Piglin.class) {
            // "奎";
        } else if (clazz == Blaze.class) {
            // "赤燸";
        } else if (clazz == ElderGuardian.class) {
            // "大海虫";
        } else if (clazz == Guardian.class) {
            // "小海虫";
        } else if (clazz == Endermite.class) {
            // "羫";
        } else if (clazz == Evoker.class) {
            // "猰貐";
        } else if (clazz == Ghast.class) {
            // "血怼";
        } else if (clazz == MagmaCube.class) {
            // "血滴子";
        } else if (clazz == Slime.class) {
            // "莱莱";
        } else if (clazz == Vex.class) {
            // "魂瑜";
        } else if (clazz == Vindicator.class) {
            // "觊觎";
        } else if (clazz == Witch.class) {
            // "药姑";
        }
        return itemStacks;
    }
}
